﻿using System;
using System.ServiceModel;
using Domain.Dummies.Dtos;
using Domain.Dummies.Dtos.Collections;

namespace Services.Dummies.DirectorateService
{
    [ServiceContract]
    public interface IDirectorateService
    {
        [OperationContract]
        Guid CreateSubject(SessionDto session, string subjectName);

        [OperationContract]
        bool AttachTeacher(SessionDto session, Guid subjectId, Guid teacherId, int hours);

        [OperationContract]
        SubjectDto GetSubject(SessionDto session, Guid SubjectGuid);

        [OperationContract]
        SubjectBaseListDto GetSubjects(SessionDto session);
    }
}
